package com.sl.core.domain.dto;

import com.sl.core.utils.JsonMap;
import lombok.Getter;
import lombok.Setter;

import java.util.Map;

@Getter
@Setter
public class TransformationStepGUI extends JsonMap {

    private String xloc;

    private String yloc;

    private String draw;


    public static TransformationStepGUI basic(String xloc, String yloc, Map<String, Object> extParamMap) {
        TransformationStepGUI transformationStep = new TransformationStepGUI();
        transformationStep.setYloc(yloc);
        transformationStep.setXloc(xloc);
        transformationStep.setDraw("Y");
        transformationStep.putAll(extParamMap);
        transformationStep.build();
        return transformationStep;
    }
}
